<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/content/denounce" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>

  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.denounceManage}</h1>
    </div>

    <div class="navbar">
      <ul class="nav">
        <li <eq name="state" value="0">class="active"</eq>><a href="{:URL('admin/Content/denounce','state=0')}">{$Think.lang.waitingOperation}</a>
        </li>
        <li <eq name="state" value="1">class="active"</eq>><a href="{:URL('admin/Content/denounce','state=1')}">{$Think.lang.recycle}</a>
        </li>
        <li <eq name="state" value="2">class="active"</eq>><a href="{:URL('admin/Content/denounce','state=2')}">{$Think.lang.reviewThrough}</a>
        </li>
      </ul>
    </div>
    <div class="filterbar">
      <form id="search" method="post">
        <label for="">ID</label>
        <input type="number" name="id" id="id" value="{$id}" class="input-text">
        <label for="">{$Think.lang.denounceUser}ID</label>
        <input type="number" name="uid" id="uid" value="{$uid}" class="input-text">
        <label for="">{$Think.lang.denounceFor}</label>
        <input type="text" name="fuid" id="fuid" value="{$fuid}" class="input-text">
        <button type="submit" class="btn-search" id="J_search" title="{$Think.lang.search}">
          <i class="icon-search"></i>
        </button>

        <a href="javascript:;" class="more" id="J_more">更多查找</a>
        <div class="more-constraints" style="display: none;">
          <label for="">{$Think.lang.fromUser}</label>
          <input type="text" name="from" id="from" value="{$from}" class="input-text">
          <label for="">{$Think.lang.type}</label>
          <select id="state">
            <option value="">{$Think.lang.pleaseSelect}</option>
            <option value="0" <php>if($tab0=='cur') echo 'selected';</php>
              >{$Think.lang.waitingOperation}
            </option>
            <option value="1" <php>if($tab1=='cur') echo 'selected';</php>
              >{$Think.lang.recycle}
            </option>
            <option value="2" <php>if($tab2=='cur') echo 'selected';</php>
              >{$Think.lang.reviewThrough}
            </option>
          </select>
        </div>
      </form>
    </div>
    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="width: 10px;">
                <input type="checkbox" class="toggle-all" />
              </th>
              <th style="">ID</th>
              <th style="">{$Think.lang.denounceUser}ID</th>
              <th style="">{$Think.lang.denounceUser}{$Think.lang.uname}</th>
              <th style="">{$Think.lang.fromUser}</th>
              <th style="">{$Think.lang.denounceInfo}</th>
              <th style="">{$Think.lang.reason}</th>
              <th style="">{$Think.lang.ctime}</th>
              <th style="">{$Think.lang.operating}</th>
            </tr>
          </thead>
          <tbody>
            <volist id="vo" name="list">
              <tr data-id="{$vo.id}">
                <td>
                  <input type="checkbox" class="toggle" />
                </td>
                <td>{$vo.id}</td>
                <td>{$vo.uid}</td>
                <td>
                  <php>if( $vo['uid']=='0' ){ echo '
                    <font color=red>{$Think.lang.systemAutomatic}</font>'; }else{ echo $vo['uid']; }</php>
                </td>
                <td>{$vo.from}</td>
                <td>{$Think.lang.denounceFor}UID：{$vo.fuid}&nbsp;&nbsp;&nbsp;&nbsp;{$Think.lang.denounceFor}{$Think.lang.uname}：{$vo.fuid}
                  <hr />{$Think.lang.denounceContent}：{$vo.content}
                </td>
                <td>{$vo.reason}</td>
                <td>{$vo.ctime|date="Y-m-d H:i:s",###}</td>
                <td>
                  <eq name="tab0" value="cur">
                    <a href="javascript:;" class="A_pass">{$Think.lang.throughReview}</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                    <a href="javascript:;" class="A_del">{$Think.lang.goRecycle}</a>
                  </eq>
                  <eq name="tab1" value="cur"> <a href="javascript:;" class="A_pass">{$Think.lang.throughReview}</a>
                  </eq>
                  <eq name="tab2" value="cur"> <a href="javascript:;" class="A_del">{$Think.lang.goRecycle}</a>
                  </eq>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
    </div>

    <div class="datas-ft">
      <div class="pager">{$page}</div>
      <div class="actions">
        <eq name="tab0" value="cur">
          <a href="javascript:;" class="btn" id="J_pass">{$Think.lang.throughReview}</a>
          <a href="javascript:;" class="btn" id="J_del">{$Think.lang.goRecycle}</a>
        </eq>
        <eq name="tab_b" value="cur">
          <a href="javascript:;" class="btn" id="J_pass">{$Think.lang.throughReview}</a>
        </eq>
        <eq name="tab2" value="cur">
          <a href="javascript:;" class="btn" id="J_del">{$Think.lang.goRecycle}</a>
        </eq>
      </div>
    </div>

  </div>
  </div>
</body>

</html>
